package com.vita.bduck.logger;

/**
 * Created with IntelliJ IDEA.
 * User: Vita Hao
 * Date: 13-6-19
 * Time: 上午10:04
 * To change this template use File | Settings | File Templates.
 */
public class LogConstant {
    public final static String LOG_TAG = "Log";

    public static final int LOG_NULL 	= 0x00;	// 输出未捕获异常，其他都不输出
    public static final int LOG_I 		= 0x01;	// info
    public static final int LOG_W 		= 0x02;	// warning
    public static final int LOG_V 		= 0x04;	// verbose
    public static final int LOG_D 		= 0x08;	// debug
    public static final int LOG_E 		= 0x10;	// error
    public static final int LOG_WTF 	= 0x20;	// what a terrible failure
    protected static final long MAX_LOGSIZE = 20 * 1024 * 1024;

    /**
     * 上传最大日志行数默认值
     */
    protected static final int DEFALUT_MAX_ROW = 100;

    /**
     * 上传间隔时间默认值
     */
    protected static final int DEFAULT_UPLOAD_INTERVAL = 1000 * 60 * 30;

    /**
     * Extra
     */
    public static final String OPERATION = "operation";


    /**
     * handle what
     */
    public static final int OPERTAIONT_STAT = 1;

    /**
     * handle what
     */
    public static final int OPERATIONT_STOP = 2;

    /**
     * Extra
     */
    public static final String MAXROW = "maxRow";

    /**
     * Extra
     */
    public static final String UPLOAD_INTERVAL = "uploadInterval";
}
